package com.arcsoft.crud.limitNumber.instance;

import com.arcsoft.crud.Constants.Global;
import com.arcsoft.crud.limitNumber.base.BenchmarkBase;
import com.arcsoft.crud.limitNumber.task.InsertTask;

public class InsertTestInstance extends BenchmarkBase{

	public InsertTestInstance() {
		super(Global.THREAD_COUNT,Global.LOOP_COUNT);
	}

	@Override
	protected Runnable getTask(int index) {
		return new InsertTask(index, this, Global.PRINT_INTERVAL_SECONDS, loopCount, Global.DEFALUT_TABLE_TASK_LOG);
	}
}
